package view;

import java.awt.EventQueue;
import java.awt.GridLayout;

import javax.swing.JFrame;
import javax.swing.BorderFactory;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import javax.swing.JPanel;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JToolBar;
import javax.swing.JToggleButton;
import javax.swing.JComboBox;
import javax.swing.JButton;
import javax.swing.LayoutStyle.ComponentPlacement;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class zenjia {

	private JFrame frame;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JTextField textField_4;
	private JTextField textField_6;
	private JTextField textField_8;
	private JTextField textField_9;
	private JTextField textField_10;
	private JTextField textField_11;
	private JTextField textField_13;
	private JTextField textField_14;
	private JTextField textField_15;
	private JTextField textField_16;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					zenjia window = new zenjia();
					window.frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the application.
	 */
	public zenjia() {
		initialize();
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize() {
		frame = new JFrame();
		frame.setBounds(100, 100, 450, 400);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		JPanel panel = new JPanel();
		GroupLayout groupLayout = new GroupLayout(frame.getContentPane());
		groupLayout.setHorizontalGroup(
			groupLayout.createParallelGroup(Alignment.LEADING)
				.addComponent(panel, Alignment.TRAILING, GroupLayout.DEFAULT_SIZE, 432, Short.MAX_VALUE)
		);
		groupLayout.setVerticalGroup(
			groupLayout.createParallelGroup(Alignment.LEADING)
				.addComponent(panel, Alignment.TRAILING, GroupLayout.DEFAULT_SIZE, 403, Short.MAX_VALUE)
		);
		
		JPanel panel_1 = new JPanel();
		panel_1.setLayout(new GridLayout(9,4,1,1));
		panel_1.setBorder(BorderFactory.createTitledBorder(""));
		
		JButton btnf = new JButton("\u4FDD\u5B58\uFF08F5\uFF09");
		btnf.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			}
		});
		
		JButton btnesc = new JButton("\u9000\u51FA\uFF08Esc\uFF09");
		
		GroupLayout gl_panel = new GroupLayout(panel);
		gl_panel.setHorizontalGroup(
			gl_panel.createParallelGroup(Alignment.LEADING)
				.addGroup(gl_panel.createSequentialGroup()
					.addContainerGap()
					.addGroup(gl_panel.createParallelGroup(Alignment.LEADING)
						.addGroup(gl_panel.createSequentialGroup()
							.addComponent(panel_1, GroupLayout.PREFERRED_SIZE, 404, Short.MAX_VALUE)
							.addContainerGap())
						.addGroup(Alignment.TRAILING, gl_panel.createSequentialGroup()
							.addComponent(btnf)
							.addGap(51)
							.addComponent(btnesc)
							.addGap(79))))
		);
		gl_panel.setVerticalGroup(
			gl_panel.createParallelGroup(Alignment.LEADING)
				.addGroup(gl_panel.createSequentialGroup()
					.addContainerGap()
					.addComponent(panel_1, GroupLayout.PREFERRED_SIZE, 257, GroupLayout.PREFERRED_SIZE)
					.addGap(29)
					.addGroup(gl_panel.createParallelGroup(Alignment.BASELINE)
						.addComponent(btnesc)
						.addComponent(btnf))
					.addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
		);
		
		JLabel lblNewLabel = new JLabel("\u6240\u5C5E\u7C7B\u522B\uFF1A");
		panel_1.add(lblNewLabel);
		
		textField = new JTextField();
		panel_1.add(textField);
		textField.setColumns(10);
		
		JLabel lblNewLabel_4 = new JLabel("\u5546\u54C1\u7F16\u53F7\uFF1A");
		panel_1.add(lblNewLabel_4);
		
		textField_4 = new JTextField();
		panel_1.add(textField_4);
		textField_4.setColumns(10);
		
		JLabel lblNewLabel_1 = new JLabel("\u5546\u54C1\u540D\u79F0\uFF1A");
		panel_1.add(lblNewLabel_1);
		
		textField_2 = new JTextField();
		panel_1.add(textField_2);
		textField_2.setColumns(10);
		
		JLabel lblNewLabel_2 = new JLabel("\u5546\u54C1\u6761\u7801\uFF1A");
		panel_1.add(lblNewLabel_2);
		
		textField_1 = new JTextField();
		panel_1.add(textField_1);
		textField_1.setColumns(10);
		
		JLabel lblNewLabel_3 = new JLabel("\u540D\u79F0\u7B80\u62FC\uFF1A");
		panel_1.add(lblNewLabel_3);
		
		textField_3 = new JTextField();
		panel_1.add(textField_3);
		textField_3.setColumns(10);
		
		JLabel lblNewLabel_5 = new JLabel("\u5355\u4F4D\uFF1A");
		panel_1.add(lblNewLabel_5);
		
		JComboBox comboBox_1 = new JComboBox();
		panel_1.add(comboBox_1);
		
		JLabel lblNewLabel_6 = new JLabel("\u4EA7\u54C1\u89C4\u683C\uFF1A");
		panel_1.add(lblNewLabel_6);
		
		textField_6 = new JTextField();
		panel_1.add(textField_6);
		textField_6.setColumns(10);
		
		JLabel lblNewLabel_7 = new JLabel("\u836F\u5242\u7C7B\u578B\uFF1A");
		panel_1.add(lblNewLabel_7);
		
		JComboBox comboBox = new JComboBox();
		panel_1.add(comboBox);
		
		JLabel lblNewLabel_8 = new JLabel("\u9884\u8BBE\u552E\u4EF7\uFF1A");
		panel_1.add(lblNewLabel_8);
		
		textField_8 = new JTextField();
		panel_1.add(textField_8);
		textField_8.setColumns(10);
		
		JLabel lblNewLabel_9 = new JLabel("\u9884\u8BBE\u8FDB\u4EF7\uFF1A");
		panel_1.add(lblNewLabel_9);
		
		textField_9 = new JTextField();
		panel_1.add(textField_9);
		textField_9.setColumns(10);
		
		JLabel lblNewLabel_10 = new JLabel("\u5E93\u5B58\u4E0B\u9650\uFF1A");
		panel_1.add(lblNewLabel_10);
		
		textField_10 = new JTextField();
		panel_1.add(textField_10);
		textField_10.setColumns(10);
		
		JLabel lblNewLabel_11 = new JLabel("\u4FDD\u8D28\u671F\uFF1A");
		panel_1.add(lblNewLabel_11);
		
		textField_11 = new JTextField();
		panel_1.add(textField_11);
		textField_11.setColumns(10);
		
		JLabel lblNewLabel_12 = new JLabel("\u901A\u7528\u540D\uFF1A");
		panel_1.add(lblNewLabel_12);
		
		JComboBox comboBox_2 = new JComboBox();
		panel_1.add(comboBox_2);
		
		JLabel lblNewLabel_13 = new JLabel("\u6279\u51C6\u6587\u53F7\uFF1A");
		panel_1.add(lblNewLabel_13);
		
		textField_13 = new JTextField();
		panel_1.add(textField_13);
		textField_13.setColumns(10);
		
		JLabel lblNewLabel_14 = new JLabel("\u751F\u4EA7\u5382\u5546\uFF1A");
		panel_1.add(lblNewLabel_14);
		
		textField_14 = new JTextField();
		panel_1.add(textField_14);
		textField_14.setColumns(10);
		
		JLabel lblNewLabel_15 = new JLabel("\u751F\u4EA7\u8BB8\u53EF\uFF1A");
		panel_1.add(lblNewLabel_15);
		
		textField_15 = new JTextField();
		panel_1.add(textField_15);
		textField_15.setColumns(10);
		
		JLabel lblNewLabel_17 = new JLabel("\u5907\u6CE8\uFF1A");
		panel_1.add(lblNewLabel_17);
		
		textField_16 = new JTextField();
		panel_1.add(textField_16);
		textField_16.setColumns(10);
		panel.setLayout(gl_panel);
		frame.getContentPane().setLayout(groupLayout);
	}
}
